package com.hxkj.service;

import com.github.pagehelper.PageInfo;
import com.hxkj.domain.po.LastestMessage;
import com.hxkj.domain.po.Message;
import com.hxkj.domain.vo.MessageVO;
import com.platform.common.domain.result.ResultDataStruct;
import com.platform.common.domain.result.ResultMessageStruct;
import com.platform.common.domain.to.PageTo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface MessageService {

    PageInfo<LastestMessage> selectMessageList(LastestMessage lastestMessage, PageTo pageParam, HttpServletRequest request) throws Exception;

    PageInfo<MessageVO> getMessageChat(Message message, PageTo pageParam, HttpServletRequest request) throws Exception;

    void sendMessage(Message message, HttpServletRequest request) throws Exception;

    void batchDeleteMessage(String ids, HttpServletRequest request) throws Exception;

    void batchModifyMessageStatus(String ids, HttpServletRequest request) throws Exception;

    void deleteMessage(String messageId, HttpServletRequest request) throws Exception;
}
